package com.uplift.mgt.building.dao;

import com.uplift.mgt.building.model.BuildingModel;
import com.uplift.mgt.building.model.RealtyFileModel;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RealtyFileMapper {
	public List<Map<String, Object>> selectRealtyFile(RealtyFileModel realtyFileModel);

	public List<Map<String, Object>> selectMessageRealtyFile(RealtyFileModel realtyFileModel);

	/**
	 * 新增文件信息
	 * @param realtyFileModel
	 * @return
	 */
	public int insertRealtyFile(RealtyFileModel realtyFileModel);

	/**
	 * 更新附件信息
	 * @param realtyFileModel
	 * @return
	 */
	public int updateRealtyFile(RealtyFileModel realtyFileModel);
}
